package com.financing.platform.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.IActionDao;
import com.financing.platform.dto.ActionDTO;
import com.financing.platform.service.IActionService;

@Service("actionServiceImpl")
public class ActionServiceImpl extends BaseServiceImpl implements IActionService {

	@Autowired
	IActionDao actionDaoImpl;
	
	public List<ActionDTO> queryAllAction() {
		
		return actionDaoImpl.queryAllAction();
		
	}

	public int addAction(ActionDTO actionDTO) {
		return actionDaoImpl.addAction(actionDTO);
	}
	
	public ActionDTO queryActionById(ActionDTO actionDTO ){
		return actionDaoImpl.queryActionById(actionDTO);
	}

}
